#include "manageinfo.h"
#include "ui_manageinfo.h"
#include "logginginfo.h"
#include "modifyinfo.h"

manageinfo::manageinfo(QWidget *parent, loginmanage *lg, std::string) :
        QWidget(parent),
        ui(new Ui::manageinfo)
{
        lg->close();
        ui->setupUi(this);
        connect(ui->pushButton_logginginfo, SIGNAL(clicked()),
                this, SLOT(handleLogginginfo()));
        connect(ui->pushButton_modifyinfo, SIGNAL(clicked()),
                this, SLOT(handleModifyinfo()));
        connect(ui->pushButton_reset, SIGNAL(clicked()),
                this, SLOT(handleReset()));

}

manageinfo::~manageinfo()
{
        delete ui;
}

void manageinfo::handleLogginginfo() {
        logginginfo *log = new logginginfo();
        log->show();
}

void manageinfo::handleModifyinfo() {
        modifyinfo *mo = new modifyinfo();
        mo->show();
}

void manageinfo::handleReset() {

}
